package com.shanpin.shebao.web.module.game.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;


public class GameRecomPointVO {

	private int userId;
	private String nickname;
	private String headimg;
	private int point;
	private String pointDetail;
	private int giftPlay;
	
	public static RowMapper<GameRecomPointVO> MAPPER = new RowMapper<GameRecomPointVO>() {
		@Override
		public GameRecomPointVO mapRow(ResultSet rs, int rowNum) throws SQLException {
			GameRecomPointVO p = new GameRecomPointVO();
			p.setUserId(rs.getInt("user_id"));
			p.setPoint(rs.getInt("point"));
			p.setPointDetail(rs.getString("point_detail"));
			p.setGiftPlay(rs.getInt("gift_play"));
			return p;
		}
	};
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getHeadimg() {
		return headimg;
	}
	public void setHeadimg(String headimg) {
		this.headimg = headimg;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	public String getPointDetail() {
		return pointDetail;
	}
	public void setPointDetail(String pointDetail) {
		this.pointDetail = pointDetail;
	}
	public int getGiftPlay() {
		return giftPlay;
	}
	public void setGiftPlay(int giftPlay) {
		this.giftPlay = giftPlay;
	}
}
